/**
 * @Description SalesmanAchievementsDaoImpl.java
 * @author xu_cc [18724000100@163.com]
 * @date 创建时间：2018年1月3日 上午11:51:19
 */
package com.solution.admin.report.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.solution.admin.report.dao.SalesmanAchievementsDao;
import com.solution.admin.report.entity.SalesmanAchievementsEntity;
import com.solution.common.dao.impl.BaseDaoImpl;

/**
 * 业务员业绩报表实现
 * 
 * @author xu_cc
 * @date 创建时间：2018年1月3日 上午11:52:56
 */

@Repository
public class SalesmanAchievementsDaoImpl extends BaseDaoImpl<SalesmanAchievementsEntity> implements SalesmanAchievementsDao {

	@Override
	public List<SalesmanAchievementsEntity> listByParam(SalesmanAchievementsEntity param) {
		return getSessionTemplate().selectList(getStatement("listByParam"), param);
	}

	@Override
	public List<SalesmanAchievementsEntity> listOrgByParam(SalesmanAchievementsEntity param) {
		return getSessionTemplate().selectList(getStatement("listOrgByParam"), param);
	}

}
